package org.patterns.behavior.state.switchstate;


public class Client {
    public static void main(String[] args) {
        Switch sw1 = new Switch("开关1");
        Switch sw2 = new Switch("开关2");

        sw1.on();
        sw2.on();
        sw1.off();
        sw2.off();
        sw2.on();
        sw1.on();
    }
}
